home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Windows 95 API Bible
/
Windows 95 API Bible 3 Disc Set.iso
/
Win32 API Bible Book 2 of 3.iso
/
chapter3
/
menuhelp.rc
< prev
next >
Wrap
Text File
|
1996-03-06
|
1KB
|
45 lines
#include "windows.h"
#include "statwnd.h"
#include "menuhelp.h"
MYAPP ICON DISCARDABLE "GENERIC.ICO"
MYAPP MENU DISCARDABLE
BEGIN
POPUP "&File"
BEGIN
MENUITEM "&New...", IDM_NEW
MENUITEM "&Open...", IDM_OPEN
MENUITEM "&Close", IDM_CLOSE
MENUITEM SEPARATOR
MENUITEM "E&xit", IDM_EXIT
END
POPUP "&Help"
BEGIN
MENUITEM "&About MenuHelp()...", IDM_ABOUT
END
END
STRINGTABLE
BEGIN
IDM_NEW "Create a new file."
IDM_OPEN "Open a file."
IDM_CLOSE "Close the current file."
IDM_EXIT "Exit the application."
IDM_ABOUT "Display the about box."
END
ABOUTBOX DIALOG 22, 17, 171, 43
STYLE DS_MODALFRAME | WS_OVERLAPPED | WS_CAPTION | WS_SYSMENU
CAPTION "MenuHelp()"
FONT 8, "Helv"
{
CONTROL "MyApp", -1, "STATIC", SS_ICON | WS_CHILD | WS_VISIBLE, 3, 2, 16, 16
CONTROL "Common Controls Example", DLG_VERFIRST, "STATIC", SS_LEFT | WS_CHILD | WS_VISIBLE | WS_GROUP, 28, 4, 100, 8
CONTROL "OK", IDOK, "BUTTON", BS_DEFPUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_GROUP | WS_TABSTOP, 116, 26, 50, 14
}